//
//  CXEmptyView.swift
//  Asman
//
//  Created by 李旭峰 on 6/3/19.
//  Copyright © 2019 李旭峰. All rights reserved.
//

import UIKit

@objc protocol CXEmptyViewDelegate {
    func onHandlerDidClicked(actionTitle title:String)
}
class CXEmptyView: UIView {

    @IBOutlet weak var imgEmptyLogo: UIImageView!
    @IBOutlet weak var lbContent: UILabel!
    @IBOutlet weak var btnAction: UIButton!
    weak var delegate:CXEmptyViewDelegate?
    @IBAction func handleButtonAction(_ sender: UIButton) {
        self.delegate?.onHandlerDidClicked(actionTitle: sender.currentTitle ?? "")
    }
}
